package com.xin.springclouduser.service;

import com.xin.springclouduser.dataobject.MyFriend;
import com.xin.springclouduser.dto.UserDTO;
import com.xin.springclouduser.vo.ResultPage;
import org.springframework.data.domain.Pageable;

public interface MyFriendService {
    //创建好友关系
    boolean create(String uid,String fid);
    //删除好友关系
    boolean delete(String uid,String fid);
    //查询是否为好友
    boolean findFriendShip(String uid,String fid);
    //查询好友列表
    ResultPage<UserDTO> findMyFriendList(String uid, Pageable pageable);
}
